package com.css.fxfzypg.modules.baseData.service;

import com.alibaba.fastjson.JSONObject;
import com.css.fxfzypg.modules.baseData.queryParams.ReservoirQueryParams;
import com.css.fxfzypg.modules.baseData.entity.ReservoirEntity;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * @author y1fan
 * @create 2022-08-15 15:16
 */
public interface ReservoirService {


    ReservoirEntity saveReservoir(ReservoirEntity reservoirEntity);

    ReservoirEntity findReservoirById(String dataReservoirId);

    JSONObject getAllReservoirByParams(ReservoirQueryParams queryParams);

    void deleteReservoir(List<Integer> ids);

    void exportExcel(HttpServletResponse response)throws IOException;

    void importExcel(MultipartFile file)throws IOException;
}
